package ch.zhaw.cctd.logic.event;

/**
 * Definiert was für ein Event genau aufgetretten ist für den LobbyEventListener.
 * @author Benjamin Felder
 * @see LobbyEventListener
 */
public class LobbyEvent implements Event {
	
	private static final long serialVersionUID = 242609833031878537L;
	
	public static enum LobbyAction {
		JOINED, LEFT, READY, UNREADY, GAMESTART;
	}
	
	public LobbyEvent(LobbyAction action, int playerId, String user) {
		this.action = action;
		this.user = user;
		this.playerId = playerId;
	}
	
	public final LobbyAction action;
	public final String user;
	public final int playerId;
	
}
